package eu.szemraj.net.remoting {
    import flash.events.Event;

    public class ServiceEvent extends Event {

        public static const RESULT:String = "result";        public static const STATUS:String = "status";        public static const CONNECTION_ERROR:String = "connectionError";
        public var result:Object = null;
        public var status:Object = null;

        public function ServiceEvent(type:String, result:Object = null, status:Object = null ) {
      	
            super( type, bubbles, cancelable );
            this.result = result;
            this.status = status;
        }

        override public function clone():Event {
      	
            return new ServiceEvent( type, result, status );
        }
    }
}
